package test;

//字符串的旋转
public class topic06 {
    public static void main(String[] args) {
        strange("1234567",7,5);
    }
    public static void strange(String A, int length , int special){
        String[] split = A.split(String.valueOf(A.charAt(special)));
        String newA = "";
        newA += split[1];
        newA += split[0];
        newA += A.charAt(special);
        System.out.println(newA);
    }
}
